<template>
  <div style="height: 100%; width: 100%;">
            <el-button @click="login()" size="medium">欢迎使用</el-button>
            <particles></particles>
  </div>
</template>

<script>
    import particles from "../components/welcome.vue"
    export default{
      components:{
        particles
      },
      methods:{
          login(){
            this.$router.push({path:'/login'})
          }
      }
    }
</script>

<style scoped>
    .el-button{
      position: absolute;
      z-index: 0;
      background:rgba(0,0,0,0);
      display: block;
      color: #0077AA;
      border-radius: 10%;
      font-family: "times new roman";
      font-style: oblique;
      text-align: center;
     top: 50%;
     left: 50%;
    }
</style>
